<template>
  <div>
    <h1>sd1的中嵌套路由的子组件 detail1</h1>
  </div>
</template>

<script setup lang="ts">

import { useRoute } from 'vue-router'
const route = useRoute()
// 打印params参数
console.log(route.params,'route.params')
console.log(route.query,'route.params')


</script>

<style></style>
